Static semantic analysis and theorem proving for CASL
نویسندگان
چکیده
This paper presents a static semantic analysis for CASL, the Common Algebraic Speciication Language. Abstract syntax trees are generated including subsorts and overloaded functions and predicates. The static semantic analysis, through the implementation of an overload resolution algorithm, checks and qualiies these abstract syntax trees. The result is a fully qualiied CASL abstract syntax tree where the overloading has been resolved. This abstract syntax tree corresponds to a theory in the institution underlying CASL, subsorted partial rst-order logic with sort generation constraints (SubPCFOL). Two ways of embedding SubPCFOL in higher-order logic (HOL) of the logical framework Isabelle are discussed: the rst one from SubPFOL to HOL via PFOL (partial rst-order logic) rst drops subsorting and then partiality, and the second one is the counterpart via SubFOL (sub-sorted rst-order logic). The C in SubPCFOL stands for sort generation constraints, which are translated separately. Finally, we sketch an integration of the embedding of CASL into the UniForM Workbench.
منابع مشابه
Amalgamation in the semantics of CASL
We present a semantics for architectural specifications in Casl, including an extended static analysis compatible with model-theoretic requirements. The main obstacle here is the lack of amalgamation for Casl models. To circumvent this problem, we extend the Casl logic by introducing enriched signatures, where subsort embeddings form a category rather than just a preorder. The extended model fu...
متن کاملCASL: From Semantics to Tools
CASL, the common algebraic speciication language, has been developed as a language that subsumes many previous algebraic spec-iication frameworks and also provides tool interoperability. CASL is a complex language with a complete formal semantics. It is therefore a challenge to build good tools for CASL. In this work, we present and discuss the Bremen HOL-CASL system, which provides parsing, st...
متن کاملRelating CASL with Other Specification
In this work, we investigate various specification languages and their relation to Casl, the recently developed Common Algebraic Specification Language. In particular, we consider the languages Larch, OBJ3 and functional CafeOBJ, ACT ONE, ASF, and HEP-theories, as well as various sublanguages of Casl. All these languages are translated to an appropriate sublanguage of Casl. The translation main...
متن کاملSemantics of Architectural Specifications in CASL
We present a semantics for architectural specifications in Casl, including an extended static analysis compatible with modeltheoretic requirements. The main obstacle here is the lack of amalgamation for Casl models. To circumvent this problem, we extend the Casl logic by introducing enriched signatures, where subsort embeddings form a category rather than just a preorder. The extended model fun...
متن کاملOn the whereabouts of CSP-CASL - A survey
CSP-CASL is but one of the many languages for which Bernd KriegBrückner (BKB) had a great deal of influence throughout its development process: from the initial idea of working towards an integration of the process algebra CSP with the algebraic specification language CASL, to the design of the concrete syntax, and also to tool support for CSP-CASL, where the theorem prover Isabelle should prov...
متن کامل